package com.postracker.postracker.util;

import java.util.ArrayList;
import java.util.List;

public final class CollectionUtils {

	private static final CollectionUtils INSTANCE = new CollectionUtils();

	private CollectionUtils() {
	}

	public static CollectionUtils getInstance() {
		return INSTANCE;
	}

	public static <T> List<T> cloneList(List<T> source) {
		if (source == null) {
			return null;
		}
		List<T> newList = new ArrayList<T>(source);
		return newList;
	}

}
